package com.bank.bank.transaction.service;


import com.bank.bank.common.base.pojo.dto.DrawMoneyParam;
import com.bank.bank.common.base.pojo.dto.SaveMoneyParam;
import com.bank.bank.common.base.pojo.dto.TransferMoneyParam;
import com.bank.bank.common.base.pojo.entity.Transaction;
import com.bank.bank.common.base.pojo.vo.DrawMoneyVO;
import com.bank.bank.common.base.pojo.vo.SaveMoneyVO;
import com.bank.bank.common.base.pojo.vo.TransactionDetailVO;

import java.util.List;

public interface TransactionService {
    SaveMoneyVO deposit(SaveMoneyParam saveMoneyParam);

    DrawMoneyVO withdraw(DrawMoneyParam drawMoneyParam);

    void transfer(TransferMoneyParam transferMoneyParam);

    TransactionDetailVO getTransaction(String transactionId);

    List<Transaction> getAccountTrans(Integer accountId);
}
